import Vue from 'vue'
import VueRouter from 'vue-router'

import Find from '@/view/Find.vue'
import My from '@/view/My.vue'
import Lick from '@/view/Lick.vue'
import Download from '@/view/Download.vue'
import Musician from '@/view/Musician.vue'
import Store from '@/view/Store.vue'
import NotFound from '@/view/NotFound.vue'

Vue.use(VueRouter)

const router = new VueRouter({
  routes: [
    {
      path: '/',
      component: Find,
    },
    {
      path: '/find',
      component: Find,
    },
    {
      path: '/my',
      component: My,
    },
    {
      path: '/lick',
      component: Lick,
    },
    {
      path: '/store',
      component: Store,
    }, {
      path: '/musician',
      component: Musician,
    }, {
      path: '/download',
      component: Download,
    },
    {
      path: '*',
      component:NotFound
    },
  ],
})

export default router
